package com.leonzhangxf.springdatastudy.repo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.data.relational.core.mapping.Column;

/**
 * @author leonzhangxf
 */
@Data
@AllArgsConstructor
public class Address {

    @Column("country")
    private String country;

    @Column("province")
    private String province;

    @Column("city")
    private String city;
}
